﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetPE.Core.DataDirectories;

namespace NetPE.TreeNodes
{
    class CLRDatsNode : BaseNode
    {
        public CLRDatsNode(CLRDatas dat)
            : base(dat)
        {
            this.dat = dat;
            this.Text = "CLR Datas";
            this.ImageIndex = this.SelectedImageIndex = NodeType.Header;
        }

        CLRDatas dat;
        public override object Data { get { return dat; } }

        public override BaseEditor GetEditorControl()
        {
            return new CollectionEditor<CLRData>() { PropertyName = "Address" };
        }
    }
}
